package net.maku.module.organization.convert;

import net.maku.module.organization.entity.RoleStaffEntity;
import net.maku.module.organization.vo.RoleStaffVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_角色
*
* @author     
*/
@Mapper
public interface RoleStaffConvert {
    RoleStaffConvert INSTANCE = Mappers.getMapper(RoleStaffConvert.class);

    RoleStaffEntity convert(RoleStaffVO vo);

    RoleStaffVO convert(RoleStaffEntity entity);

    List<RoleStaffVO> convertList(List<RoleStaffEntity> list);

}